#include "stdafx.h"
#include "BaseTower.h"


CBaseTower::CBaseTower()
{
	m_FaceImg[0] = cvLoadImage("..\\Data\\image\\Shit11.png");
	m_FaceImg[1] = cvLoadImage("..\\Data\\image\\Shit12.png");
	m_FaceImg[2] = cvLoadImage("..\\Data\\image\\Shit13.png");
	m_BaseImg= cvLoadImage("..\\Data\\image\\Shit-11.png");
	m_BulletImg= cvLoadImage("..\\Data\\image\\PShit12.png");
	m_EffectImg= cvLoadImage("..\\Data\\image\\PShit-12.png");
}


CBaseTower::~CBaseTower()
{
}

void CBaseTower::LoadBaseImg(IplImage * base)
{
	m_BaseImg = base;
}

void CBaseTower::LoadFaceImg(IplImage ** face)
{
	for (int i = 0; i < TOWER_IMG_COUNT; i++)
	{
		m_FaceImg[i] = face[i];
	}
}

void CBaseTower::DrawToBG(IplImage * BG)
{
}

void CBaseTower::SetATK(int atk)
{
	m_ATK = atk;
}

int CBaseTower::GetATK()
{
	return m_ATK;
}

void CBaseTower::SetATKDis(int ATKDis)
{
	m_ATKDis = ATKDis;
}

int CBaseTower::GetATKDis()
{
	return m_ATKDis;
}

void CBaseTower::SetUpMoney(int UpMoney)
{
	m_UpMoney = UpMoney;
}

int CBaseTower::GetUpMoney()
{
	return m_UpMoney;
}

void CBaseTower::SetDownMoney(int DownMoney)
{
	m_DownMoney = DownMoney;
}

int CBaseTower::GetDownMoney()
{
	return m_DownMoney;
}
